public class Person {

    String name="下头男";


}


class DogSon extends Person{

    public void func(){

        System.out.println("他叫"+this.name);

    }

    public static void main(String[] args) {
        DogSon d=new DogSon();
        d.func();
    }

}